<?php
global $sc_style, $shop_settings;
if ($shop_settings['catstyle_thumb_only'] == 'on') $dtochecked = "checked='checked' ";
if ($shop_settings['catstyle_thumb_noscale'] == 'on') $tnschecked = "checked='checked' ";
if ($shop_settings['catstyle_name_bold'] == 'on') $cnbchecked = "checked='checked' ";
if ($shop_settings['product_list_admin'] == 'on') $plachecked = "checked='checked' ";

$ADMIN_ADVANCED_SETTINGS = "
<div style='width: 100%;'>
    <div style='padding: 0px 10px 0px 10px;'>
        <form action='".e_SELF."' method='POST' name='settingsform' ID='settingsform'>
        <table width='95%' style='border-collapse: collapse;'>
            <tr>    
                <th class='fcaption' colspan='2'>
                ".lan_admin_advanced_category_cats_title." 
                </th>
            </tr>
            <tr>
                <td class='forumheader2' width='50%'>
                    ".lan_admin_advanced_catstyle_pcs_per_row."
                </td>
                <td class='forumheader3' width='50%'>
                    <input class='tbox' type='text' name='catstyle_pcs_per_row' value='".$shop_settings['catstyle_pcs_per_row']."' size='1' />
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_catstyle_thumb_only."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='checkbox' name='catstyle_thumb_only' ".$dtochecked." />
                </td>
            </tr>
            <tr>    
                <th class='fcaption' colspan='2'>
                ".lan_admin_advanced_category_list_title." 
                </th>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_catstyle_forum_border."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='text' name='catstyle_forum_border' value='".$shop_settings['catstyle_forum_border']."' size='20' />
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_catstyle_forum_padding."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='text' name='catstyle_forum_padding' value='".$shop_settings['catstyle_forum_padding']."' size='20' />
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_catstyle_forum_halign."
                </td>
                <td class='forumheader3'>
                    <select name='catstyle_forum_halign'>
                        <option value='left' ".($shop_settings['catstyle_forum_halign']=='left' ? "selected='selected' " : "").">left</option>
                        <option value='center' ".($shop_settings['catstyle_forum_halign']=='center' ? "selected='selected' " : "").">center</option>
                        <option value='right' ".($shop_settings['catstyle_forum_halign']=='right' ? "selected='selected' " : "").">right</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_catstyle_forum_valign."
                </td>
                <td class='forumheader3'>
                    <select name='catstyle_forum_valign'>
                        <option value='top' ".($shop_settings['catstyle_forum_valign']=='top' ? "selected='selected' " : "").">top</option>
                        <option value='middle' ".($shop_settings['catstyle_forum_valign']=='middle' ? "selected='selected' " : "").">middle</option>
                        <option value='bottom' ".($shop_settings['catstyle_forum_valign']=='bottom' ? "selected='selected' " : "").">bottom</option>
                    </select>
                </td>
            </tr>
            <tr>    
                <th class='fcaption' colspan='2'>
                ".lan_admin_advanced_category_title." 
                </th>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_catstyle_thumb_border."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='text' name='catstyle_thumb_border' value='".$shop_settings['catstyle_thumb_border']."' size='20' />
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_catstyle_thumb_width."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='text' name='catstyle_thumb_width' value='".$shop_settings['catstyle_thumb_width']."' size='3'/>
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_catstyle_thumb_noscale."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='checkbox' name='catstyle_thumb_noscale' ".$tnschecked."' />
                </td>
            </tr>
            <tr>
                <td class='forumheader2' width='20%'>
                    ".lan_admin_advanced_catstyle_name_bold."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='checkbox' name='catstyle_name_bold' ".$cnbchecked."' />
                </td>
            </tr>
            <tr>    
                <th class='fcaption' colspan='2'>
                ".lan_admin_advanced_productlist_title." 
                </th>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_productlist_columns."
                </td>
                <td class='forumheader3'>
                    <select name='product_list_view'>
                        <option value='3' ".($shop_settings['product_list_view']=='3' ? "selected='selected' " : "").">3</option>
                        <option value='5' ".($shop_settings['product_list_view']=='5' ? "selected='selected' " : "").">5</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_productlist_admin."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='checkbox' name='".product_list_admin."' ".$plachecked."' />
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_productlist_admin_delete."
                </td>
                <td class='forumheader3'>
                    <select name='product_list_admin_delete'>
                        <option value='deactivate' ".($shop_settings['product_list_admin_delete']=='deactivate' ? "selected='selected' " : "").">".lan_global_deactivate."</option>
                        <option value='delete' ".($shop_settings['product_list_admin_delete']=='delete' ? "selected='selected' " : "").">".lan_global_delete."</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_productlist_align_picture."
                </td>
                <td class='forumheader3'>
                    <select name='product_list_align_picture'>
                        <option value='left' ".($shop_settings['product_list_align_picture']=='left' ? "selected='selected' " : "").">left</option>
                        <option value='center' ".($shop_settings['product_list_align_picture']=='center' ? "selected='selected' " : "").">center</option>
                        <option value='right' ".($shop_settings['product_list_align_picture']=='right' ? "selected='selected' " : "").">right</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_productlist_align_name."
                </td>
                <td class='forumheader3'>
                    <select name='product_list_align_name'>
                        <option value='left' ".($shop_settings['product_list_align_name']=='left' ? "selected='selected' " : "").">left</option>
                        <option value='center' ".($shop_settings['product_list_align_name']=='center' ? "selected='selected' " : "").">center</option>
                        <option value='right' ".($shop_settings['product_list_align_name']=='right' ? "selected='selected' " : "").">right</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_productlist_align_price."
                </td>
                <td class='forumheader3'>
                    <select name='product_list_align_price'>
                        <option value='left' ".($shop_settings['product_list_align_price']=='left' ? "selected='selected' " : "").">left</option>
                        <option value='center' ".($shop_settings['product_list_align_price']=='center' ? "selected='selected' " : "").">center</option>
                        <option value='right' ".($shop_settings['product_list_align_price']=='right' ? "selected='selected' " : "").">right</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_productlist_align_quant."
                </td>
                <td class='forumheader3'>
                    <select name='product_list_align_quant'>
                        <option value='left' ".($shop_settings['product_list_align_quant']=='left' ? "selected='selected' " : "").">left</option>
                        <option value='center' ".($shop_settings['product_list_align_quant']=='center' ? "selected='selected' " : "").">center</option>
                        <option value='right' ".($shop_settings['product_list_align_quant']=='right' ? "selected='selected' " : "").">right</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_productlist_align_action."
                </td>
                <td class='forumheader3'>
                    <select name='product_list_align_action'>
                        <option value='left' ".($shop_settings['product_list_align_action']=='left' ? "selected='selected' " : "").">left</option>
                        <option value='center' ".($shop_settings['product_list_align_action']=='center' ? "selected='selected' " : "").">center</option>
                        <option value='right' ".($shop_settings['product_list_align_action']=='right' ? "selected='selected' " : "").">right</option>
                    </select>
                </td>
            </tr>
            <tr>    
                <th class='fcaption' colspan='2'>
                ".lan_admin_advanced_offline_title." 
                </th>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_offline_line1."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='text' name='invoice_offline_line1' value='".$shop_settings['invoice_offline_line1']."' size='75'/>
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_offline_line2."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='text' name='invoice_offline_line2' value='".$shop_settings['invoice_offline_line2']."' size='75'/>
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_offline_line3."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='text' name='invoice_offline_line3' value='".$shop_settings['invoice_offline_line3']."' size='75'/>
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_offline_line4."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='text' name='invoice_offline_line4' value='".$shop_settings['invoice_offline_line4']."' size='75'/>
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_offline_line5."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='text' name='invoice_offline_line5' value='".$shop_settings['invoice_offline_line5']."' size='75'/>
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_offline_line6."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='text' name='invoice_offline_line6' value='".$shop_settings['invoice_offline_line6']."' size='75'/>
                </td>
            </tr>
            <tr>    
                <th class='fcaption' colspan='2'>
                ".lan_admin_advanced_bottom_title." 
                </th>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_bottom_line1."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='text' name='invoice_bottom_line1' value='".$shop_settings['invoice_bottom_line1']."' size='75'/>
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_bottom_line2."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='text' name='invoice_bottom_line2' value='".$shop_settings['invoice_bottom_line2']."' size='75'/>
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_bottom_line3."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='text' name='invoice_bottom_line3' value='".$shop_settings['invoice_bottom_line3']."' size='75'/>
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_bottom_line4."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='text' name='invoice_bottom_line4' value='".$shop_settings['invoice_bottom_line4']."' size='75'/>
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_bottom_line5."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='text' name='invoice_bottom_line5' value='".$shop_settings['invoice_bottom_line5']."' size='75'/>
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_bottom_line6."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='text' name='invoice_bottom_line6' value='".$shop_settings['invoice_bottom_line6']."' size='75'/>
                </td>
            </tr>
            <tr>
                <td class='forumheader2'>
                    ".lan_admin_advanced_bottom_line7."
                </td>
                <td class='forumheader3'>
                    <input class='tbox' type='text' name='invoice_bottom_line7' value='".$shop_settings['invoice_bottom_line7']."' size='75'/>
                </td>
            </tr>
            <tr>
                <td class='forumheader' colspan='2'>
                    <center><input type='submit' value='".lan_global_update."' name='subbed'></center>
                </td>
            </tr>
        </table>
        </form>
    </div>
</div>
";
